Only show the mnemonic underline when pressing Alt
authorMatthias Clasen <mclasen@redhat.com>
Sun, 20 Dec 2009 08:04:52 +0000 (03:04 -0500)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:53:35 +0000 (20:53 -0400)
commitd68d78de816a44dd69309407dbb003e2bfadbf26
tree99ed2dbcf160c8d50e5bbfab8d1e0289b72914bd
parentce9c3df4c88e19c2effba0f2e1cdd90c8171b109
Only show the mnemonic underline when pressing Alt

...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtkmain.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenuitem.c
gtk/gtkmenushell.c
gtk/gtkmenushell.h
gtk/gtksettings.c
gtk/gtkwindow.c
gtk/gtkwindow.h